package org.locker.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.locker.common.mybatis.core.mapper.BaseMapperPlus;
import org.locker.domain.DeviceGrid;
import org.locker.domain.bo.DeviceGridBo;
import org.locker.domain.vo.DeviceGridVo;

import java.util.List;

/**
 * 设备格子信息Mapper接口
 *
 * @author winnie
 * @date 2023-10-11
 */
public interface DeviceGridMapper extends BaseMapperPlus<DeviceGrid, DeviceGridVo> {

    List<DeviceGrid> selectJoinInfoList(@Param("deviceId") Long deviceId);

    Page<DeviceGridVo> getList(IPage<DeviceGridVo> page, @Param("bo") DeviceGridBo bo);


}
